<%@page pageEncoding="UTF-8"%>
<link rel="stylesheet" type="text/css" href="${base}/css/base.css" />
<link rel="stylesheet" type="text/css" href="${base}/css/index.css" />
<link rel="stylesheet" type="text/css" href="${base}/css/person.css" />
<link rel="stylesheet" type="text/css" href="${base}/js/jquery/alert/jquery.alert.css" />
<link rel="stylesheet" type="text/css" href="${base}/js/jquery/boxy/boxy.css" />

<script type="text/javascript" src="${base}/js/jquery/jquery-1.6.min.js"></script>
<script type="text/javascript" src="${base}/js/jquery/alert/jquery.alert.js"></script>
<script type="text/javascript" src="${base}/js/form/formValidator-4.1.3.js" ></script>
<script type="text/javascript" src="${base}/js/form/formValidatorRegex.js" ></script>
<script type="text/javascript" src="${base}/js/datePicker/WdatePicker.js" ></script>
<script type="text/javascript" src="${base}/js/jquery/boxy/jquery.boxy.js"></script>
<script type="text/javascript">
    function loginModel() {
        window.loginDialog = new Boxy("<iframe id='loginWin' name='loginWin' height='320px' width='650px' src='${base}/frontUserCtl/toRegister' frameborder='0'></iframe>", {title: "注册登陆", modal: true});
    }
    
    function toOrderInfo() {
		var shopCarSize = "${fn:length(persionShopCar.waresList)}";
		if(0 == shopCarSize) {
            jAlert("请先选购商品！");
            return false;
		} else {
	            location.href='${base}/orderFrontCtl/persionShopCar';
		}
        return true;
    }
</script>